home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / fx / fx_fence_wood.tik < prev    next >
Encoding:
Text File  |  2002-10-21  |  1008 b   |  61 lines

  1. TIKI
  2. setup
  3. {
  4.     scale 1.0
  5.     path models/fx/dummy
  6.     skelmodel dummy2.skd
  7. }
  8.  
  9. init
  10. {
  11.     server
  12.     {
  13.     }
  14.     client
  15.     {
  16.         //cache some stuff used in this effect
  17.         cache bhole_wood.spr // cache the bullet hole shader
  18.         cache models/fx/bh_wood_piece.tik
  19.         cache models/fx/bh_wood_puff_simple.tik
  20.  
  21.         // concentrated puff of wood debris
  22.         sfx originspawn
  23.         (
  24.             model models/fx/bh_wood_puff_simple.tik
  25.             spritegridlighting
  26.             alpha 0.8
  27.             count 1
  28.             life 0.25
  29.             scale 24
  30.             scalerate 16
  31.             fade
  32.         )
  33.  
  34.  
  35.         // wood chunks
  36.         sfx originspawn
  37.         (
  38.             model models/fx/bh_wood_piece.tik
  39.             spritegridlighting
  40.             alpha 1.0
  41.             count 3
  42.             angles random 360 random 360 0
  43.             avelocity crandom 180 crandom 180 0
  44.             velocity 75
  45.             randvelaxis random 60 crandom 30 crandom 60
  46.             friction .5
  47.             accel 0 0 -800
  48.             life 0.6 0.7
  49.             scalemin 3
  50.             scalemax 5
  51.             fadedelay 0.5
  52.             color .4 .3 .17
  53.         )
  54.     }
  55. }
  56.  
  57. // This section is just needed to be a valid tiki file
  58. animations
  59. {
  60.     idle dummy2.skc
  61. }